package com.banach.prema;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 系统模块
 *
 * @author ajun
 */
@EnableFeignClients(basePackages = {"com.ego","com.banach"})
@SpringBootApplication(scanBasePackages = {"com.ego","com.banach"})
@ServletComponentScan(basePackages = {"com.ego","com.banach"})
@EnableScheduling
public class SosApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(SosApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  基础服务启动成功   ლ(´ڡ`ლ)ﾞ");
    }
}
